package com.hd.entity;

/**
 * 开户信息 
 * @author 叶装装
 * 
 * 对应表 dstzsqzh
 */
public class Account implements java.io.Serializable{
	
	
	public Account( ) {
	}


	public Account( Integer id, Integer aid, String name, String txtname,
			String txtshenfenzheng, String txtphone, String txtqq,
			String txtemail, String txtaddress, Integer sptype ) {
		this.id = id;
		this.aid = aid;
		this.name = name;
		this.txtname = txtname;
		this.txtshenfenzheng = txtshenfenzheng;
		this.txtphone = txtphone;
		this.txtqq = txtqq;
		this.txtemail = txtemail;
		this.txtaddress = txtaddress;
		this.sptype = sptype;
	}
	
	
	@Override
	public int hashCode( ) {
		final int prime = 31;
		int result = 1;
		result = prime * result + ( ( id == null ) ? 0 : id.hashCode( ) );
		return result;
	}
	@Override
	public boolean equals( Object obj ) {
		if( this == obj )
			return true;
		if( obj == null )
			return false;
		if( getClass( ) != obj.getClass( ) )
			return false;
		Account other = ( Account ) obj;
		if( id == null ){
			if( other.id != null )
				return false;
		}else if( !id.equals( other.id ) )
			return false;
		return true;
	}
	
	// 属性------------------------
	private Integer id;
	private Integer aid;
	private String name;
	private String txtname;
	private String txtshenfenzheng;
	private String txtphone;
	private String txtqq;
	private String txtemail;
	private String txtaddress;
	private Integer sptype;
	
	
	public Integer getId( ) {
		return id;
	}
	public void setId( Integer id ) {
		this.id = id;
	}
	public Integer getAid( ) {
		return aid;
	}
	public void setAid( Integer aid ) {
		this.aid = aid;
	}
	public String getName( ) {
		return name;
	}
	public void setName( String name ) {
		this.name = name;
	}
	public String getTxtname( ) {
		return txtname;
	}
	public void setTxtname( String txtname ) {
		this.txtname = txtname;
	}
	public String getTxtshenfenzheng( ) {
		return txtshenfenzheng;
	}
	public void setTxtshenfenzheng( String txtshenfenzheng ) {
		this.txtshenfenzheng = txtshenfenzheng;
	}
	public String getTxtphone( ) {
		return txtphone;
	}
	public void setTxtphone( String txtphone ) {
		this.txtphone = txtphone;
	}
	public String getTxtqq( ) {
		return txtqq;
	}
	public void setTxtqq( String txtqq ) {
		this.txtqq = txtqq;
	}
	public String getTxtemail( ) {
		return txtemail;
	}
	public void setTxtemail( String txtemail ) {
		this.txtemail = txtemail;
	}
	public String getTxtaddress( ) {
		return txtaddress;
	}
	public void setTxtaddress( String txtaddress ) {
		this.txtaddress = txtaddress;
	}
	public Integer getSptype( ) {
		return sptype;
	}
	public void setSptype( Integer sptype ) {
		this.sptype = sptype;
	}
	

	
	
	
}
